package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-03-02
 */
public class SourceDataRecord extends Model<SourceDataRecord> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   @TableField("TASK_ID")
   private String taskId;
   @TableField("PARAM")
   private String param;
   @TableField("INSPECT_STANDARD")
   private String inspectStandard;
   @TableField("STANDARD_MIN")
   private BigDecimal standardMin;
   @TableField("STANDARD_MAX")
   private BigDecimal standardMax;
   @TableField("STANDARD_UNIT")
   private String standardUnit;
   @TableField("INSPECT_PARAM")
   private String inspectParam;
   @TableField("SOURCE_DATA")
   private BigDecimal sourceData;
   @TableField("SEQ")
   private String seq;
   @TableField("CREATED_USER")
   private String createdUser;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("UPDATED_USER")
   private String updatedUser;
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getTaskId() {
      return taskId;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getParam() {
      return param;
   }

   public void setParam(String param) {
      this.param = param;
   }

   public String getInspectStandard() {
      return inspectStandard;
   }

   public void setInspectStandard(String inspectStandard) {
      this.inspectStandard = inspectStandard;
   }

   public BigDecimal getStandardMin() {
      return standardMin;
   }

   public void setStandardMin(BigDecimal standardMin) {
      this.standardMin = standardMin;
   }

   public BigDecimal getStandardMax() {
      return standardMax;
   }

   public void setStandardMax(BigDecimal standardMax) {
      this.standardMax = standardMax;
   }

   public String getStandardUnit() {
      return standardUnit;
   }

   public void setStandardUnit(String standardUnit) {
      this.standardUnit = standardUnit;
   }

   public String getInspectParam() {
      return inspectParam;
   }

   public void setInspectParam(String inspectParam) {
      this.inspectParam = inspectParam;
   }

   public BigDecimal getSourceData() {
      return sourceData;
   }

   public void setSourceData(BigDecimal sourceData) {
      this.sourceData = sourceData;
   }

   public String getSeq() {
      return seq;
   }

   public void setSeq(String seq) {
      this.seq = seq;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String TASK_ID = "TASK_ID";

   public static final String PARAM = "PARAM";

   public static final String INSPECT_STANDARD = "INSPECT_STANDARD";

   public static final String STANDARD_MIN = "STANDARD_MIN";

   public static final String STANDARD_MAX = "STANDARD_MAX";

   public static final String STANDARD_UNIT = "STANDARD_UNIT";

   public static final String INSPECT_PARAM = "INSPECT_PARAM";

   public static final String SOURCE_DATA = "SOURCE_DATA";

   public static final String SEQ = "SEQ";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "SourceDataRecord{" +
         "handle = " + handle +
         ", site = " + site +
         ", taskId = " + taskId +
         ", param = " + param +
         ", inspectStandard = " + inspectStandard +
         ", standardMin = " + standardMin +
         ", standardMax = " + standardMax +
         ", standardUnit = " + standardUnit +
         ", inspectParam = " + inspectParam +
         ", sourceData = " + sourceData +
         ", seq = " + seq +
         ", createdUser = " + createdUser +
         ", createdDateTime = " + createdDateTime +
         ", updatedUser = " + updatedUser +
         ", updatedDateTime = " + updatedDateTime +
         "}";
   }
}